import createAjax from '@/utils/request.js'

// 分片上传
export function uploadRequest(params) {
  // console.log(params);
  return createAjax({
    url: '/commen/split_upload',
    method: 'post',
    data: params
  })
}

// 上传完成-合并切片
export function mergeRequest(params) {
  return createAjax({
    url: '/commen/merge',
    method: 'post',
    data: params
  })
}
